bufio.Reader.r (field)

49 uses

	bufio (current package)
		bufio.go#L35: 	r, w         int       // buf read and write positions
		bufio.go#L101: 	if b.r > 0 {
		bufio.go#L102: 		copy(b.buf, b.buf[b.r:b.w])
		bufio.go#L103: 		b.w -= b.r
		bufio.go#L104: 		b.r = 0
		bufio.go#L150: 	for b.w-b.r < n && b.w-b.r < len(b.buf) && b.err == nil {
		bufio.go#L155: 		return b.buf[b.r:b.w], ErrBufferFull
		bufio.go#L160: 	if avail := b.w - b.r; avail < n {
		bufio.go#L168: 	return b.buf[b.r : b.r+n], err
		bufio.go#L197: 		b.r += skip
		bufio.go#L223: 	if b.r == b.w {
		bufio.go#L242: 		b.r = 0
		bufio.go#L257: 	n = copy(p, b.buf[b.r:b.w])
		bufio.go#L258: 	b.r += n
		bufio.go#L259: 	b.lastByte = int(b.buf[b.r-1])
		bufio.go#L268: 	for b.r == b.w {
		bufio.go#L274: 	c := b.buf[b.r]
		bufio.go#L275: 	b.r++
		bufio.go#L286: 	if b.lastByte < 0 || b.r == 0 && b.w > 0 {
		bufio.go#L290: 	if b.r > 0 {
		bufio.go#L291: 		b.r--
		bufio.go#L296: 	b.buf[b.r] = byte(b.lastByte)
		bufio.go#L306: 	for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
		bufio.go#L310: 	if b.r == b.w {
		bufio.go#L313: 	r, size = rune(b.buf[b.r]), 1
		bufio.go#L315: 		r, size = utf8.DecodeRune(b.buf[b.r:b.w])
		bufio.go#L317: 	b.r += size
		bufio.go#L318: 	b.lastByte = int(b.buf[b.r-1])
		bufio.go#L328: 	if b.lastRuneSize < 0 || b.r < b.lastRuneSize {
		bufio.go#L331: 	b.r -= b.lastRuneSize
		bufio.go#L338: func (b *Reader) Buffered() int { return b.w - b.r }
		bufio.go#L354: 		if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 {
		bufio.go#L356: 			line = b.buf[b.r : b.r+i+1]
		bufio.go#L357: 			b.r += i + 1
		bufio.go#L363: 			line = b.buf[b.r:b.w]
		bufio.go#L364: 			b.r = b.w
		bufio.go#L371: 			b.r = b.w
		bufio.go#L377: 		s = b.w - b.r // do not rescan area we scanned before
		bufio.go#L414: 			if b.r == 0 {
		bufio.go#L418: 			b.r--
		bufio.go#L538: 	if b.w-b.r < len(b.buf) {
		bufio.go#L542: 	for b.r < b.w {
		bufio.go#L563: 	n, err := w.Write(b.buf[b.r:b.w])
		bufio.go#L567: 	b.r += n